"use strict";
var str = ["Hello", "98052", "101"];
// Validators to use
var vlt = {};
vlt["ZIP code"] = new Validation.ZipCodeOnlyValidator();
vlt["Letter only"] = new Validation.LetterOnlyValidator();
// Show whether each string passed each validator
for (var _i = 0, str_1 = str; _i < str_1.length; _i++) {
    var s = str_1[_i];
    for (var name_1 in vlt) {
        console.log("\"" + s + "\"-" + (vlt[name_1].isAcceptable(s) ? "matches" : "does not match") + " " + name_1);
        /*
        "Hello"-does not match ZIP code
        25-多文件命名空间.js:11 "Hello"-matches Letter only
        25-多文件命名空间.js:11 "98052"-matches ZIP code
        25-多文件命名空间.js:11 "98052"-does not match Letter only
        25-多文件命名空间.js:11 "101"-does not match ZIP code
        25-多文件命名空间.js:11 "101"-does not match Letter only
        */
    }
}
